//
//  APIToday.h
//  Bracelet
//
//  Created by jing zhao on 2/15/15.
//  Copyright (c) 2015 jing zhao. All rights reserved.
//

#import <Foundation/Foundation.h>

#import "APIConnection.h"

#import <AFNetworking/AFNetworking.h>

@interface APITodayTotal : NSObject

@property(copy,nonatomic)NSString* strLast_update_time;
@property(copy,nonatomic)NSString* strNextChallenge;
@property(copy,nonatomic)NSString* strPercent;
@property(copy,nonatomic)NSString* strRunTotal_metre;
@property(copy,nonatomic)NSString* strTotalDays;
@property(copy,nonatomic)NSString* strTotalMoney;
@property(copy,nonatomic)NSString *strHtml;

+(void)setApiRelativePosition:(NSString*)relativePostion
           getTheTodayMyToTal:(void (^)(APITodayTotal *todayAndWeek)) successBlock
                      failure:(void (^)( NSError *error)) failureBlock;

@end
